package com.dashu.device.api;

import com.dashu.device.bean.CQ.CQBaseResp;
import io.netty.channel.ChannelHandlerContext;

import java.io.IOException;

public interface InsideServerApi<T> {

    /**
     * 设备心跳
     *
     * @return
     */
    public void heartbeat(ChannelHandlerContext ctx, Object o, long cacheTime) throws Exception;

    /**
     * 设备人脸体温识别
     *
     * @return
     */

    public void compared(ChannelHandlerContext ctx, Object o, String msg) throws IOException;
}
